//
//  UIImage+CornerImage.h
//  简单的通讯录作业
//
//  Created by lanou3g on 15/5/30.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (CornerImage)
+ (instancetype)circleImageWithName:(NSString *)name borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor;

+ (UIImage*)imageWithImageSimple:(UIImage*)image scaledToSize:(CGSize)newSize;

+(void)showImage:(UIImageView *)avatarImageView;

+(UIImage *)compressImageWith:(UIImage *)image width:(float)width height:(float)height;

@end
